* net/tramp.el(tramp-completion-handle-file-name-all-completions):
authorMichael Albinus <albinus@detlef>
Thu, 22 Apr 2010 04:27:55 +0000 (06:27 +0200)
committerMichael Albinus <albinus@detlef>
Thu, 22 Apr 2010 04:27:55 +0000 (06:27 +0200)
Ensure, that non remote files are still checked.  Oops.

lisp/ChangeLog
lisp/net/tramp.el

index 5315dbf76562ac7f6e6ac5528e688e168bd2029c..7f1e849c0583d9bfc447b01e240438066067d1b1 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el(tramp-completion-handle-file-name-all-completions):
+       Ensure, that non remote files are still checked.  Oops.
+
 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
 
        Fix Bug#5840.
index 5ba1b184bc55cd2b7268959ca0d06dbb3d9b2706..05f7b94edda462c4605fde979d6ad6ae11389a54 100644 (file)
@@ -5719,9 +5719,10 @@ not in completion mode."
     (append
      result1
      (condition-case nil
-        (when (tramp-connectable-p fullname)
-          (tramp-completion-run-real-handler
-           'file-name-all-completions (list filename directory)))
+        (apply (if (tramp-connectable-p fullname)
+                   'tramp-completion-run-real-handler
+                 'tramp-run-real-handler)
+               'file-name-all-completions (list (list filename directory)))
        (error nil)))))
 
 ;; Method, host name and user name completion for a file.